package cn.csxw.openchina.dagger2.module;

import cn.csxw.openchina.ui.activity.NewsDetailActivity;
import dagger.Module;
import dagger.Provides;

/**
 * Created by hp on 2017/1/17.
 */
@Module
public class NewsDetailActivityModule {
    NewsDetailActivity mNewsDetailActivity;

    public NewsDetailActivityModule(NewsDetailActivity newsDetailActivity) {
        mNewsDetailActivity = newsDetailActivity;
    }

    @Provides
    public NewsDetailActivity providesNewsDetailActivity(){
        return mNewsDetailActivity;
    }
}
